# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xdriinfo
pkgver=1.0.6
pkgrel=0
pkgdesc="query configuration information of DRI drivers"
options="!check" # No testsuite
url="https://wiki.freedesktop.org/xorg/"
arch="all"
license="custom"
subpackages="$pkgname-doc"
makedepends="libx11-dev mesa-dev xorgproto"
source="https://www.x.org/releases/individual/app/$pkgname-$pkgver.tar.bz2"


build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--mandir=/usr/share/man
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="7ddd9e19abaef93e4d85004293528ec3814ef84c470d496dbb8dc8313d804bb7520406de8d33d2bc2b3af942bd0a5d5032a109b2726438a966af63ea680a102f  xdriinfo-1.0.6.tar.bz2"
